package cn.yogehaoren.badfox.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface DownloadInterceptor {

    /**
     * 用于判断是否每个拦截到的方法都进行拦截并执行
     *
     * @return --
     */
    boolean everyMethod() default false;

}
